﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataAnalyticsTools.Models
{
    /// <summary>
    /// 聚类合并历史记录
    /// </summary>
    public class ClusterMerge
    {
        public int Cluster1 { get; set; }
        public int Cluster2 { get; set; }
        public float Distance { get; set; }
        public int RemainingClusters { get; set; }
        public DateTime MergeTime { get; set; }

        public ClusterMerge(int cluster1, int cluster2, float distance, int remainingClusters)
        {
            Cluster1 = cluster1;
            Cluster2 = cluster2;
            Distance = distance;
            RemainingClusters = remainingClusters;
            MergeTime = DateTime.Now;
        }
    }
}
